package cn.yunwei.server;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;


/**
 * @author wangbinggui
 */
@SuppressWarnings("SpringComponentScan")
@SpringBootApplication(scanBasePackages = {"${yunwei.info.base-package}"})
@MapperScan(basePackages = {"${yunwei.info.base-package}.dal.mysql"})
public class YunWeiServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(YunWeiServerApplication.class, args);
    }
}
